using System.Collections.Generic;

namespace ICP_MS.Plugin.LA300;

public class TimeSpectrum
{
	public virtual int Id { get; set; }

	public virtual int SampleId { get; set; }

	public virtual string SampleLabel { get; set; }

	public virtual int IsotopeId { get; set; }

	public virtual string Symbol { get; set; }

	public virtual int RunIndex { get; set; }

	public virtual List<double> Time { get; set; }

	public virtual List<double> Intensity { get; set; }

	public virtual bool isTest { get; set; }

	public TimeSpectrum()
	{
		Time = new List<double>();
		Intensity = new List<double>();
	}

	public TimeSpectrum(TimeSpectrum timespectrum)
	{
		Id = timespectrum.Id;
		SampleId = timespectrum.SampleId;
		SampleLabel = timespectrum.SampleLabel;
		IsotopeId = timespectrum.IsotopeId;
		Symbol = timespectrum.Symbol;
		RunIndex = timespectrum.RunIndex;
		Time = new List<double>(timespectrum.Time);
		Intensity = new List<double>(timespectrum.Intensity);
		isTest = timespectrum.isTest;
	}

	public virtual void SetUnTest()
	{
		Time = null;
		Intensity = null;
		isTest = false;
	}
}
